package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import java.util.Date;

@Entity
public class corecmsfoodordermaster {
    @Id
    private long orderId;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 取单号
     */
    private String number;

    /**
     * 日期
     */
    private java.util.Date orderDate;

    /**
     * 门店id
     */
    private int storeId;

    /**
     * 总店ID
     */
    private int corpId;

    /**
     * 就餐人数
     */
    private int person;

    /**
     * 班次Id
     */
    private long classId;

    /**
     * 数量
     */
    private double sumQuantity;

    /**
     * 单据应收金额
     */
    private double sumAmount;

    /**
     * 单据实收金额
     */
    private double sumRealAmount;

    /**
     * 做法金额
     */
    private double sumTaskAmount;

    /**
     * 加料金额
     */
    private double sumFeedAmount;

    /**
     * 减免金额
     */
    private double sumFreeAmount;

    /**
     * 单据优惠金额
     */
    private double sumReduceAmount;

    /**
     * 赠送金额
     */
    private double sumPresentAmount;

    /**
     * 折扣金额
     */
    private double sumDiscountAmount;

    /**
     * 抹零金额
     */
    private double sumFloorAmount;

    /**
     * 小计
     */
    private double sumAllAmount;

    /**
     * 小计（未抹零和减免前 ）
     */
    private double sumAllAmount1;

    /**
     * 找零金额
     */
    private double changeAmount;

    /**
     * 电话号码
     */
    private String telephone;

    /**
     * 订单类型 0全部；1堂食；2外带;
     */
    private int ordertype;

    /**
     * 桌号id
     */
    private long deskId;

    /**
     * 会员ID
     */
    private Long userId;

    /**
     * 本单积分
     */
    private Integer userPoint;

    /**
     * 支付状态(0 未付款1 已支付)
     */
    private int payStatus;

    /**
     * 订单状态(0 未付款1 已支付2 已配送4 取消订单5 订单退货6 货到付款7 订单超时9 已收货10 已确认收货)
     */
    private int status;

    /**
     * 操作员Id
     */
    private Integer sysUserId;

    /**
     * 日期
     */
    private java.util.Date createTime;

    /**
     * 是否上传
     */
    private Boolean isUpload;

    /**
     * 订单来源(0 前台订单1 小程序订单，2美团外卖订单)
     */
    private int sourceType = 0;

    /**
     * 修改时间
     */
    private long modifyTime = 0;

    @Generated(hash = 1250489453)
    public corecmsfoodordermaster(long orderId, String orderNo, String number,
            java.util.Date orderDate, int storeId, int corpId, int person,
            long classId, double sumQuantity, double sumAmount,
            double sumRealAmount, double sumTaskAmount, double sumFeedAmount,
            double sumFreeAmount, double sumReduceAmount, double sumPresentAmount,
            double sumDiscountAmount, double sumFloorAmount, double sumAllAmount,
            double sumAllAmount1, double changeAmount, String telephone,
            int ordertype, long deskId, Long userId, Integer userPoint,
            int payStatus, int status, Integer sysUserId, java.util.Date createTime,
            Boolean isUpload, int sourceType, long modifyTime) {
        this.orderId = orderId;
        this.orderNo = orderNo;
        this.number = number;
        this.orderDate = orderDate;
        this.storeId = storeId;
        this.corpId = corpId;
        this.person = person;
        this.classId = classId;
        this.sumQuantity = sumQuantity;
        this.sumAmount = sumAmount;
        this.sumRealAmount = sumRealAmount;
        this.sumTaskAmount = sumTaskAmount;
        this.sumFeedAmount = sumFeedAmount;
        this.sumFreeAmount = sumFreeAmount;
        this.sumReduceAmount = sumReduceAmount;
        this.sumPresentAmount = sumPresentAmount;
        this.sumDiscountAmount = sumDiscountAmount;
        this.sumFloorAmount = sumFloorAmount;
        this.sumAllAmount = sumAllAmount;
        this.sumAllAmount1 = sumAllAmount1;
        this.changeAmount = changeAmount;
        this.telephone = telephone;
        this.ordertype = ordertype;
        this.deskId = deskId;
        this.userId = userId;
        this.userPoint = userPoint;
        this.payStatus = payStatus;
        this.status = status;
        this.sysUserId = sysUserId;
        this.createTime = createTime;
        this.isUpload = isUpload;
        this.sourceType = sourceType;
        this.modifyTime = modifyTime;
    }

    @Generated(hash = 1371780680)
    public corecmsfoodordermaster() {
    }

    public long getOrderId() {
        return this.orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return this.orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public java.util.Date getOrderDate() {
        return this.orderDate;
    }

    public void setOrderDate(java.util.Date orderDate) {
        this.orderDate = orderDate;
    }

    public int getStoreId() {
        return this.storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public int getCorpId() {
        return this.corpId;
    }

    public void setCorpId(int corpId) {
        this.corpId = corpId;
    }

    public int getPerson() {
        return this.person;
    }

    public void setPerson(int person) {
        this.person = person;
    }

    public long getClassId() {
        return this.classId;
    }

    public void setClassId(long classId) {
        this.classId = classId;
    }

    public double getSumQuantity() {
        return this.sumQuantity;
    }

    public void setSumQuantity(double sumQuantity) {
        this.sumQuantity = sumQuantity;
    }

    public double getSumAmount() {
        return this.sumAmount;
    }

    public void setSumAmount(double sumAmount) {
        this.sumAmount = sumAmount;
    }

    public double getSumRealAmount() {
        return this.sumRealAmount;
    }

    public void setSumRealAmount(double sumRealAmount) {
        this.sumRealAmount = sumRealAmount;
    }

    public double getSumTaskAmount() {
        return this.sumTaskAmount;
    }

    public void setSumTaskAmount(double sumTaskAmount) {
        this.sumTaskAmount = sumTaskAmount;
    }

    public double getSumFeedAmount() {
        return this.sumFeedAmount;
    }

    public void setSumFeedAmount(double sumFeedAmount) {
        this.sumFeedAmount = sumFeedAmount;
    }

    public double getSumFreeAmount() {
        return this.sumFreeAmount;
    }

    public void setSumFreeAmount(double sumFreeAmount) {
        this.sumFreeAmount = sumFreeAmount;
    }

    public double getSumReduceAmount() {
        return this.sumReduceAmount;
    }

    public void setSumReduceAmount(double sumReduceAmount) {
        this.sumReduceAmount = sumReduceAmount;
    }

    public double getSumPresentAmount() {
        return this.sumPresentAmount;
    }

    public void setSumPresentAmount(double sumPresentAmount) {
        this.sumPresentAmount = sumPresentAmount;
    }

    public double getSumDiscountAmount() {
        return this.sumDiscountAmount;
    }

    public void setSumDiscountAmount(double sumDiscountAmount) {
        this.sumDiscountAmount = sumDiscountAmount;
    }

    public double getSumFloorAmount() {
        return this.sumFloorAmount;
    }

    public void setSumFloorAmount(double sumFloorAmount) {
        this.sumFloorAmount = sumFloorAmount;
    }

    public double getSumAllAmount() {
        return this.sumAllAmount;
    }

    public void setSumAllAmount(double sumAllAmount) {
        this.sumAllAmount = sumAllAmount;
    }

    public double getSumAllAmount1() {
        return this.sumAllAmount1;
    }

    public void setSumAllAmount1(double sumAllAmount1) {
        this.sumAllAmount1 = sumAllAmount1;
    }

    public double getChangeAmount() {
        return this.changeAmount;
    }

    public void setChangeAmount(double changeAmount) {
        this.changeAmount = changeAmount;
    }

    public String getTelephone() {
        return this.telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public int getOrdertype() {
        return this.ordertype;
    }

    public void setOrdertype(int ordertype) {
        this.ordertype = ordertype;
    }

    public long getDeskId() {
        return this.deskId;
    }

    public void setDeskId(long deskId) {
        this.deskId = deskId;
    }

    public Long getUserId() {
        return this.userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getUserPoint() {
        return this.userPoint;
    }

    public void setUserPoint(Integer userPoint) {
        this.userPoint = userPoint;
    }

    public int getPayStatus() {
        return this.payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Integer getSysUserId() {
        return this.sysUserId;
    }

    public void setSysUserId(Integer sysUserId) {
        this.sysUserId = sysUserId;
    }

    public java.util.Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;
    }

    public Boolean getIsUpload() {
        return this.isUpload;
    }

    public void setIsUpload(Boolean isUpload) {
        this.isUpload = isUpload;
    }

    public int getSourceType() {
        return this.sourceType;
    }

    public void setSourceType(int sourceType) {
        this.sourceType = sourceType;
    }

    public long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(long modifyTime) {
        this.modifyTime = modifyTime;
    }

}
